<?php defined('BASEPATH') or exit('No direct script access allowed');

/**
 *
 *
 * @package 	PyroCMS
 * @subpackage 	Lottery Model
 * @category 	Modules
 * @license 	Apache License v2.0
 */
class Admin_m extends MY_Model {
	public function __construct()
	{
		switch (ENVIRONMENT)
		{
			case 'local':
			case 'dev':
				$this->db->db_debug = TRUE;
				break;

			case 'qa':
			case 'live':
				$this->db->db_debug = FALSE;
				break;

			default:
				$this->db->db_debug = FALSE;
		}
	}
}